Skip to content

fix (olHelpers.js): update wrapX default setting...#331

Merged
juristr merged 1 commit intotombatossals:masterfrom
StevenHeinrich:wrapx-bugfix
Nov 3, 2016
Merged

fix (olHelpers.js): update wrapX default setting...#331
juristr merged 1 commit intotombatossals:masterfrom
StevenHeinrich:wrapx-bugfix

Conversation

@StevenHeinrich
Copy link
Contributor

Original implementation completely missed the fact that the || default treats false the same as all 'falsey' values (meaning a value of false is the same as no value), making it impossible to turn off wrapX by setting it to false.

~ as reported by @thmitchell in a comment on #318

@juristr juristr merged commit 40e4972 into tombatossals:master Nov 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants